home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / arcers / tar316.zip / ZIPOSCOD.H < prev    next >
Text File  |  1980-07-24  |  904b  |  47 lines

  1. /*
  2.  The following sorce code is derived from Info-Zip 'zip' 2.01
  3.  distribution copyrighted by Mark Adler, Richard B. Wales,
  4.  Jean-loup Gailly, Kai Uwe Rommel, Igor Mandrichenko and John Bush.
  5. */
  6. #ifdef __human68k__
  7. #  define OS_CODE 3  /* pretend it's Unix */
  8. #endif
  9. /* The following OS codes are defined in pkzip appnote.txt */
  10. #ifdef AMIGA
  11. #  define OS_CODE 1
  12. #endif
  13. #ifdef VMS
  14. #  define OS_CODE 2
  15. #endif
  16. /* unix    3 */
  17. /* vms/cms 4 */
  18. #ifdef ATARI_ST
  19. #  define OS_CODE 5
  20. #endif
  21. #ifdef OS2
  22. #  define OS_CODE 6
  23. #endif
  24. #ifdef MACOS
  25. #  define OS_CODE  7
  26. #endif
  27. /* z system 8 */
  28. /* cp/m     9 */
  29. #ifdef TOPS20
  30. #  define OS_CODE 10
  31. #endif
  32. #ifdef WIN32
  33. #  define OS_CODE 11
  34. #endif
  35. /* qdos 12 */
  36.  
  37. #ifndef OS_CODE
  38. #  ifdef MSDOS
  39. #    define OS_CODE 0
  40. #  else
  41. #    define OS_CODE 3 /* assume Unix */
  42. #    ifndef UNIX
  43. #      define UNIX
  44. #    endif
  45. #  endif
  46. #endif
  47.